home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Gekikoh Dennoh Club 1
/
Gekikoh Dennoh Club Vol. 1 (Japan).7z
/
Gekikoh Dennoh Club Vol. 1 (Japan) (Track 1).bin
/
kowin
/
archive
/
sys
/
kowin14d.lzh
/
smpl
/
mtmlib
/
clipview.c
next >
Wrap
C/C++ Source or Header
|
1995-02-11
|
612b
|
33 lines
/* MiniTERM v2 smpl */
#include <mtm_stdio.h>
#define MTA_WINDOW_TITLE "Clip Board"
#define MTA_WINDOW_SIZEX 82
#define MTA_WINDOW_SIZEY 26
#define MTA_WINDOW_FONT 10
#include "mtm_conf.c"
main()
{
for(;;){
unsigned char *p= WindowGetCommon( "Clip Board", 0 );
if( p ){
for(; *p ; p++ )
putchar( *p == '\r' ? '\n' : *p );
}else{
puts( "Clip Board は空です" );
}
fflush( stdout );
for(; getch() != '\r' ;);
fputs( "\033[2J", stdout ); /* cls */
fflush( stdout );
}
}
/*
Clip Board の内容を表示します
[RETURN] キーを押すと表示を更新します
*/